import 'package:flutter/services.dart';

class MethodChannelUtils {
  static const MethodChannel _channel = MethodChannel('qds_channel');

  static showHudWithMsg(String msg) {
    _channel.invokeMethod('showHudWithMsg', msg);
  }

  static toWebView() {
    _channel.invokeMethod('webview');
  }

  static toTableVc() {
    _channel.invokeMethod('tablevc');
  }

  static toCollectVc() {
    _channel.invokeMethod('collectvc');
  }
}
